import {createStore,combineReducers,applyMiddleware} from "redux"
import thunk from "redux-thunk"
import dataReducer from "../reducers/dataReducer"
import flagReducer from "../reducers/flagReducer"
import userReducer from "../reducers/userReducer"
let store=combineReducers({
    dataReducer:dataReducer,
    flag:flagReducer,
   user:userReducer
})

export default createStore(store,applyMiddleware(thunk))